#ifndef _WALLCLOCK
#define _WALLCLOCK

// GENERAL INCLUDES ------------------------------------------------------------------------------------------
#include "base.h"

// FUNCTIONS -------------------------------------------------------------------------------------------------

// retrieve elapsed time in milliseconds
ui64 timeMs();

// stopwatch function for measuring time intervals in milliseconds -------------------------------------------

// START watch X, resetting marked time
void timeStopwatchStart(ui32 watch);

/* STOP watch X, return elapsed millisecond difference
   -> returns zero if watch X hasn't been started via timeStopwatchStart() */
ui64 timeStopwatchStop(ui32 watch);

#endif // _WALLCLOCK
